﻿using OT.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;



namespace OT.Areas.Admin.Models
{
    public class Subjects
    {

        public int SubjectID { get; set; }

        [Required, DisplayName("Subject Name")]
        public string SubjectName { get; set; }

        [DataType(DataType.MultilineText)]
        [DisplayName("Description")]
        public string Description { get; set; }

     
        public bool Status { get; set; }
        public int UserID { get; set; }
        public int? CategoryID { get; set; }

        public DateTime CreatedDate { get; set; }
        public DateTime UpdatedDate { get; set; }

        [DisplayName("Category Name")]
        public string CategoryName { get; set; }

        public ICollection<Category> categorys { get; set; }

        public int LanguageID { get; set; }
    }
}